package com.streamsets.datacollector.model.etl;


import com.streamsets.datacollector.model.etl.bean.ColumnToReplaceBean;

import java.util.List;

/**
 *   某一列值全替换为某个值，Stage Dto
 * @author wengzhonghui
 * @date 2020/9/16 11:26
 */
public class ColumnValueReplaceConfigJson {


    /*列值全都替换为某个值，或置为空
     * 示例：
     * [ {
          "setToNull" : false,
          "fields" : "/customer_id",
          "replacement" : "666"
        } ]
     */
    private List<ColumnToReplaceBean> columnToReplaceConfigs;

    public List<ColumnToReplaceBean> getColumnToReplaceConfigs() {
        return columnToReplaceConfigs;
    }

    public void setColumnToReplaceConfigs(List<ColumnToReplaceBean> columnToReplaceConfigs) {
        this.columnToReplaceConfigs = columnToReplaceConfigs;
    }
}
